package com.he.DesignPatterns.proxy.CGLibProxy;

import com.he.DesignPatterns.proxy.JdkProxy.TrainStation;

/**
 * @description: TODO
 * @Author: HCL
 * @Date: 2024/8/26 15:40
 */
public class Client {
    public static void main(String[] args) {
        ProxyFactory proxyFactory = new ProxyFactory();
        TrainStation trainStation = proxyFactory.getProxyObject();//获取代理对象
        trainStation.sell();
    }
}
